--- src/common/fqterm_trace.h	2011-09-28 17:10:16.000000000 +0200
+++ src/common/fqterm_trace.h.gcc47	2012-09-13 10:37:18.414623673 +0200
@@ -22,6 +22,7 @@
 #define FQTERM_TRACE_H
 
 #include <cassert>
+#include <unistd.h>
 #include <QtDebug>
 #include <QFileInfo>
 
